package com.onlinesys.service;

import java.sql.SQLException;
import java.util.List;

import com.onlinesys.beans.ProductRepository;

public interface ProductRepositoryService {

    public int getProductRepositoryTotalCount(int type) throws SQLException;

    public int searchsearchProductRepositoryTotalCount(ProductRepository sc, int type) throws SQLException;

    public List<ProductRepository> getProductRepositories(int i, int pageSize, int type) throws SQLException;

    public List<ProductRepository> searchProductRepositories(int i, int pageSize, ProductRepository pr, int type) throws SQLException;
    
    public void setMinQuantily(ProductRepository sc) throws SQLException;
    
    public void setRepQuantily(ProductRepository sc) throws SQLException;
}
